﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Public;
using DAL;

namespace BLL
{
    public class ChuyenKhauBLL
    {
        public static List<ChuyenKhauPublic> LoadChuyenKhauBySoCK(int SoChuyenKhau)
        {
            return ChuyenKhauDAL.LoadChuyenKhauBySoCK(SoChuyenKhau);
        }
        public static List<ChuyenKhauPublic> LoadChuyenKhauByMaNK(int MaNK)
        {
            return ChuyenKhauDAL.LoadChuyenKhauByMaNK(MaNK);
        }
        public static int LoadMaCDi()
        {
            return ChuyenKhauDAL.LoadMaCDi();
        }
        public static int LoadMaCDen(int MaPX)
        {
            return ChuyenKhauDAL.LoadMaCDen(MaPX);
        }
        public static void InsertChuyenKhau(ChuyenKhauPublic ck)
        {
            ChuyenKhauDAL.InsertChuyenDen(ck);
        }
        public static int LoadSoChuyenKhau()
        {
            return ChuyenKhauDAL.LoadSoChuyenKhau();
        }
        public static int CountChuyenDenByYear(int firstyear,int lastyear)
        {
            return ChuyenKhauDAL.CountChuyenDenByYear(firstyear,lastyear);
        }
        public static int CountChuyenDiByYear(int firstyear, int lastyear)
        {
            return ChuyenKhauDAL.CountChuyenDiByYear(firstyear,lastyear);
        }

    }
}
